{ config, lib, pkgs, ... }:

{
  users = {
    # l 为个人用户名
    #users.{user}
    users.l = {
      isNormalUser = true;
      description = "来自中国的龙先生";
      # user shell 或 使用系统默认Shell
      # shell = pkgs.zsh;
      useDefaultShell = true;
      hashedPassword ="$y$j9T$qiUug1KnxaW4edMijPRJx0$17.ZndPisCTKuWdtD9gGrrwsfv2uwQUmR4OMDf2yog4";
      extraGroups = [
        "wheel"
        "adbuser"
        "uucp"
        "audio"
        "video"
        "networkmanager"
        "input"
        "trusted-user"
        "vboxusers"
        # "libvirtd"
      ];
      openssh.authorizedKeys.keys = [
        # replace with your own public key
        # "ssh-ed25519 <some-public-key> ryan@ryan-pc"
        "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCyheRywJ9GVhxU78UjBbfZIxnWaWMDLjsLkJGOx3TXsQ6oYZfT6XMBSqEqZX/SwDRmpatNy7W/9oTmcBhYTc+eTWmx091yoaijfEeje40Tqn/p5jtIeY2hEznVMseqj8isFdwdavqZWUZprzo26KYiPIrk1XKsJhGseX/ggK39N7L3BcWNscmv+V/wGaH19qGiSGt3X9BdcaPqtIBfkJatlLYjiZie599VNRGjyRgrHLY2yuqLFWmM+AKvfJts5hmFlTYuwLLn1N+5csN4DbbXps1WVD/jPzacufSyzYLP0UmQDgl8vW27V/j4NHrM/3eA11kEn42NkzjBWxUyZzY+ZknHH8O05RlvkTD/Xbw1glW/5cq0aERQ0SEr3Ie7vxAkSf80Mf5nTITQsvfHWEE3ZFMqX2+YAydW8UD9+lcmcL1r6RrK6YvAcyqb8NoJ5tmnw0QNW/a+wphIzGJJF1Xst00OXI+ipct6aCmDUheKBm63sbSga1nf3CMgZ/v82yz0dqx0VIyNrxbDFQ2AvLE6V6rPUcLH2mF3cQztlNAFkEw/f8TiIJvteYgIksxuusfqaJToHGKbVs2O2eH86j1dB2cuLNT4xEnrR/T3bRKnAzAXs4hRbI6sQPOBgV4GMKuPxopqUFCq1s7xXKrDEY4BX54wkQ4V4Xe9gCW0gCkmdw== loonor@live.cn"
      ];
      packages = with pkgs;[
          # blender
          # qtcreator # Qt Creator
          # graphviz # Graphviz 图形可视化工具
          #hugo # Hugo
          # yarn # Yarn
          # gocryptfs # Gocryptfs
          # plasma-vault # Plasma Vault
         # kate # Kate
          # krusader # Krusader
          # emacs
          # mindustry # Mindustry
          # alacritty # Alacritty
          # libsForQt5.plasma-sdk # Plasma SDK
          #nix-prefetch-github
         # nix-prefetch-git
          # fontforge-gtk
          # android-tools
          # gnome.dconf-editor
          # helvum  # 用于管道线的GTK配线架
          # wine-staging
          # winetricks
          # strawberry  # 音乐播放器和音乐收藏组织器
          # _86Box    # 基于PCem的x86机器仿真器
          # keepassxc  # 具有许多功能的离线密码管理器。
          # yt-dlp
          # kdenlive # 视频编辑器
        ];
    };
  };

  security.pam.services.l.gnupg.enable = true;
}
